home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-08 | 494 b | 20 lines | [TEXT/RLAB] |
- //-------------------------------------------------------------------//
- //
- // Syntax: max2 ( A, B )
-
- // Description:
-
- // Return a matrix the same size as A and B with the largest
- // elements taken from A and B.
-
- // Note: the builtin function max now handles this condition.
- // This file is maintained for backward compatibility.
-
- //-------------------------------------------------------------------//
-
- max2 = function(a,b)
- {
- return max(a,b);
- // return (b+(a-b).*(a>b));
- };
-